import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '所属公司',
    width: 150,
    dataIndex: 'companyId_dictText',
  },
  {
    title: '项目编号',
    align: "center",
    dataIndex: 'zcOnly'
  },
  {
    title: '型号规格',
    align: "center",
    dataIndex: 'zcName'
  },
  {
    title: '预计出库',
    align: "center",
    dataIndex: 'zcYuji'
  },
  {
    title: '实际出库',
    align: "center",
    dataIndex: 'zcShiji'
  },
  {
    title: '单位规格',
    align: "center",
    dataIndex: 'zcDanwei'
  },
  {
    title: '单价',
    align: "center",
    dataIndex: 'zcOld'
  },
  {
    title: '创建时间',
    align: "center",
    dataIndex: 'creatTime'
  },
  {
    title: '备注',
    align: "center",
    dataIndex: 'zcLittle'
  },
];

// 高级查询数据
export const superQuerySchema = {
  zcOnly: {title: '项目编号',order: 0,view: 'text', type: 'string',},
  zcName: {title: '型号规格',order: 1,view: 'text', type: 'string',},
  zcYuji: {title: '预计出库',order: 2,view: 'text', type: 'string',},
  zcShiji: {title: '实际出库',order: 3,view: 'text', type: 'string',},
  zcDanwei: {title: '单位规格',order: 4,view: 'text', type: 'string',},
  zcOld: {title: '单价',order: 5,view: 'text', type: 'string',},
  creatTime: {title: '创建时间',order: 6,view: 'text', type: 'string',},
  zcLittle: {title: '备注',order: 7,view: 'text', type: 'string',},
};
